<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Young粉信息</title>
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="applicable-device" content="mobile">
	<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=yes, width=device-width">
	<meta name="format-detection" content="telephone=no" />
	<link rel="stylesheet" href="css/style.css">
	<script src="js/jquery.js"></script>
	<script type="text/javascript">
	   function cancelUser(){
		   $.ajax({
				type: "post",
			 	url: "/personalcenter/canceluser",
			    dataType: "json",
				success: function (data) {
			    	if(data.result==0){
			    		 boxOut($('.out-logoff-q'),$('.out-logoff-end'));
			    	}else{
			    		window.location.href='https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxe643cc1b34aa8f25&redirect_uri=http%3a%2f%2fa6.189young.com%2fpersonalcenter%2fcheckuser&response_type=code&scope=snsapi_base&state=1#wechat_redirect';
			    	}
			    }
			}); 
	   }
	</script>
</head>
<body>
    <div class="page">

        <header class="base-header">
          <a href="javascript:history.go(-1);" class="btn-back posa">返回</a>
        </header>
        
        
        <div class="logoff-tips">
          <h2 class="yellow-title">温馨提示：</h2>
          <p>注销后，您将不能再继续享受Young粉特权的服务，包括各种积分兑换，您的个人信息和积分也将全部消失。重新认证将视为新用户。</p>
        </div>

        <div class="tc logoff-btns">
          <a href="user_info.html" class="btn btn-yellow">不注销</a>
          <a href="javascript:;" class="btn btn-goOn">继续注销</a>
        </div>

        <div class="out-mask"></div>
        <!-- 询问弹窗 -->
        <div class="out-box out-logoff-q">
          <div class="out-box-inner">
            <h2 class="yellow-title tc">你真的要放弃我？</h2>
            <div class="young-cry"></div>
            <div class="tc out-btn-row">
              <a href="javascript:;" class="btn btn-yellow btn-logoff-no">不放弃</a>
              <a href="javascript:cancelUser();" class="btn btn-logoff-yes">残酷放弃</a>
            </div>
          </div>
        </div>

        <!-- 注销成功弹窗 -->
        <div class="out-box out-logoff-end">
          <div class="out-box-inner">
            <h2 class="tc">注销成功</h2>
            <div class="tc out-btn-row">
              <a href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxe643cc1b34aa8f25&redirect_uri=http%3a%2f%2fa6.189young.com%2fpersonalcenter%2fcheckuser&response_type=code&scope=snsapi_base&state=1#wechat_redirect" class="btn btn-yellow">返回</a>
            </div>
          </div>
        </div>
        
    </div>

    <script src="js/jquery.js"></script>
    <script src="js/common.js"></script>
    <script>
      $(function(){

        // 注册成功弹窗出现
        $('.btn-goOn').on('click',function(){
          boxIn($('.out-logoff-q'));
        })

        // 不放弃
        $('.btn-logoff-no').on('click',function(){
          boxOut($('.out-logoff-q'));
        })

        // 残忍放弃
       /*  $('.btn-logoff-yes').on('click',function(){
         
        })
         */

      })
    </script>

    <!--百度数据统计-->
    <script>var _hmt = _hmt || [];(function() {var hm = document.createElement("script");hm.src="https://hm.baidu.com/hm.js24866553cf6bdd25afcd437091f96447";var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s);})();</script>

</body>
</html>
















